[INFO] cloning repository https://github.com/thanhtong89/arcade-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thanhtong89/arcade-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthanhtong89%2Farcade-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthanhtong89%2Farcade-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7dda96088fc67673eac38d7ef151e9d48d7359ec
[INFO] testing thanhtong89/arcade-rs against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthanhtong89%2Farcade-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/thanhtong89/arcade-rs
[INFO] finished tweaking git repo https://github.com/thanhtong89/arcade-rs
[INFO] tweaked toml for git repo https://github.com/thanhtong89/arcade-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/thanhtong89/arcade-rs on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/thanhtong89/arcade-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num v0.1.37
[INFO] [stderr]   Downloaded num-iter v0.1.33
[INFO] [stderr]   Downloaded sdl2_image v0.25.0
[INFO] [stderr]   Downloaded num-integer v0.1.34
[INFO] [stderr]   Downloaded lazy_static v0.2.8
[INFO] [stderr]   Downloaded bitflags v0.6.0
[INFO] [stderr]   Downloaded sdl2-sys v0.25.0
[INFO] [stderr]   Downloaded num-traits v0.1.37
[INFO] [stderr]   Downloaded sdl2 v0.25.0
[INFO] [stderr]   Downloaded libc v0.2.22
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 21f750d265f58f8a403c101ffa4601668240cf14d81bbf1d6cd71c16488a88fa
[INFO] running `Command { std: "docker" "start" "-a" "21f750d265f58f8a403c101ffa4601668240cf14d81bbf1d6cd71c16488a88fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "21f750d265f58f8a403c101ffa4601668240cf14d81bbf1d6cd71c16488a88fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21f750d265f58f8a403c101ffa4601668240cf14d81bbf1d6cd71c16488a88fa", kill_on_drop: false }`
[INFO] [stdout] 21f750d265f58f8a403c101ffa4601668240cf14d81bbf1d6cd71c16488a88fa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b2a64e38ab53dbf54f40073d43efcc8498241ede17c3d9ebf3ab926b4a66dac6
[INFO] running `Command { std: "docker" "start" "-a" "b2a64e38ab53dbf54f40073d43efcc8498241ede17c3d9ebf3ab926b4a66dac6", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling num-traits v0.1.37
[INFO] [stderr]    Compiling sdl2-sys v0.25.0
[INFO] [stderr]    Compiling libc v0.2.22
[INFO] [stderr]    Compiling bitflags v0.6.0
[INFO] [stderr]    Compiling lazy_static v0.2.8
[INFO] [stderr]    Compiling bitflags v0.7.0
[INFO] [stderr]    Compiling rand v0.3.15
[INFO] [stderr]    Compiling num-integer v0.1.34
[INFO] [stderr]    Compiling num-iter v0.1.33
[INFO] [stderr]    Compiling num v0.1.37
[INFO] [stderr]    Compiling sdl2 v0.25.0
[INFO] [stderr]    Compiling sdl2_image v0.25.0
[INFO] [stderr]    Compiling arcade-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/phi/mod.rs:54:20
[INFO] [stdout]    |
[INFO] [stdout] 54 |     ChangeView(Box<View>),
[INFO] [stdout]    |                    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 54 |     ChangeView(Box<dyn View>),
[INFO] [stdout]    |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/phi/mod.rs:92:30
[INFO] [stdout]    |
[INFO] [stdout] 92 | where F: Fn(&mut Phi) -> Box<View> {
[INFO] [stdout]    |                              ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 92 | where F: Fn(&mut Phi) -> Box<dyn View> {
[INFO] [stdout]    |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `title`
[INFO] [stdout]   --> src/phi/mod.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn spawn<F>(title: &str, init: F)
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_title`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `phi`
[INFO] [stdout]   --> src/views/mod.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn new(phi: &mut Phi) -> ShipView {
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_phi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ChangeView` is never constructed
[INFO] [stdout]   --> src/phi/mod.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub enum ViewAction {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 54 |     ChangeView(Box<View>),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `contains` and `overlaps` are never used
[INFO] [stdout]   --> src/phi/data.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Rectangle {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn contains(&self, rect: Rectangle) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn overlaps(&self, other: Rectangle) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/views/mod.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         phi.renderer.fill_rect(self.player.rect.to_sdl().unwrap());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let _ = phi.renderer.fill_rect(self.player.rect.to_sdl().unwrap());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcOGeuYX/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libsdl2_image-21efe73ef7d018d3,libbitflags-ed87549ac517e209,libsdl2-3fa315ea900c66b3,librand-a974eb92ae70082f,libsdl2_sys-43e30619d9b06777,libbitflags-cf0e6924054c14d8,liblazy_static-da8f97f33f3b8c90,liblibc-0d7a514a6231cdcc,libnum-f4f021c301b4b86f,libnum_iter-1483ec510f6e25a5,libnum_integer-e08f7362380c15a2,libnum_traits-2085afd2f91cd4c4}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lSDL2_image" "-lSDL2" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustcOGeuYX/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/arcade_rs-ddf8e89d6cc2e438" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: unable to find library -lSDL2_image
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `arcade-rs` (bin "arcade-rs") due to 1 previous error; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b2a64e38ab53dbf54f40073d43efcc8498241ede17c3d9ebf3ab926b4a66dac6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2a64e38ab53dbf54f40073d43efcc8498241ede17c3d9ebf3ab926b4a66dac6", kill_on_drop: false }`
[INFO] [stdout] b2a64e38ab53dbf54f40073d43efcc8498241ede17c3d9ebf3ab926b4a66dac6
